Trouble with NotesRichTextNavigator
~Kirk Dwowepuloni 12/24/2003 03:28 AM
Domino Designer 6.0.2 CF2 Windows 2000
When using FindString against rich text, it seems to take an initial pass at the text just fine, but will not execute and find a different FindString "behind" the last occurence. Is there any way to reset the "cursor" or navigator to the beginning of the rich text for each pass (or search) for text? I've tried, SetCharOffset, SetPosition, Reset and many other less intuitive ideas. I am no expert!!!Following is my attempt at searching for text in a field (body), and then via UI, replacing with an arrayed variable...
If rtnav.FindFirstString("<Customer>") Then
Loop While rtnav.FindNextString("<Customer>")
If rtnav.FindFirstString("<OppID>") Then
Loop While rtnav.FindNextString("<OppID>")